<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>主页</title>
</head>
<body>
<form action="/userapp" method="POST">
    {% csrf_token %}
    <input type="text" name="user">
    <input type="text" name="password">
    <input type="radio" name="sex" value="male">男
    <input type="radio" name="sex" value="female">女
    <input type="submit">
</form>


    {{ greet }}



<form action="" method="post">
    <table>
        {{ form.as_table }}
        <tr>
            <td></td>
            <td><input type="submit" value="提交"></td>
        </tr>
    </table>
</form>



</body>
</html>